<template>
  <div class="foot">
    <div class="foot_box w1200">
      <span
        >版权所有:{{ list.bp }}<br />
        制作维护:{{ list.wh }} 电话: {{ list.dh }} EMALL: {{ list.yx }} 地址:{{ list.dz }}

        <br />
      </span>
      <a href="https://beian.miit.gov.cn/#/Integrated/index">
        {{ list.ba }}
      </a>
    </div>
  </div>
</template>
<script>
export default {
  data() {
    return {
      form: [],
      list: {
        bq: "",
        wh: "",
        dh: "",
        yx: "",
        dz: "",
        ba: "",
      },
    };
  },

  mounted() {
    this.getinfo();
  },
  methods: {
    getinfo() {
      let that = this;
      let data = {};
      that.$http.post("footer/list", data).then((res) => {
        if (res.code === 1) {
          that.form = res.data;
          this.list.bp = this.form[5].value;
          this.list.wh = this.form[4].value;
          this.list.dh = this.form[2].value;
          this.list.yx = this.form[1].value;
          this.list.dz = this.form[3].value;
          this.list.ba = this.form[0].value;
        }
      });
    },
    //  ==
  },
};
</script>
<style>
.el-footer {
  height: auto !important;
  margin: 0%;
  padding: 0%;
}
.foot {
  width: 100%;
  padding: 0.375rem 0 0.25rem;
  /*height: 2.5rem;*/
  background: #1954a4;
  /* margin-top: 1rem; */
  display: flex;
  align-items: center;
  justify-content: center;
}
.foot_box {
  /* width: 8.6rem; */
  font-size: 0.175rem;
  font-family: Microsoft YaHei;
  font-weight: 400;
  color: #ffffff;
  text-align: center;
}
.foot_box a,
.foot_box,
.foot_box span {
  font-size: 0.175rem;
  font-weight: 400;
  color: #ffffff;
  line-height: 0.375rem;
}
.foot_yd a,
.foot_yd {
  line-height: 30px;
  color: #ffffff;
  font-size: 14px;
}
</style>